package com.hankai.service;

import com.hankai.common.ServerResponse;
import com.hankai.vo.CartVo;

/**
 * Created by hankai on 2017/6/8.
 */
public interface ICartService {
    ServerResponse<CartVo> addCart(Integer userId, Integer productId, Integer count);

    ServerResponse<CartVo> updateCart(Integer userId, Integer productId, Integer count);

    ServerResponse deleteCart(Integer userId, String productIds);

    ServerResponse<CartVo> getCartList(Integer userId);

    ServerResponse<CartVo> updateSelectOrUnSelect(Integer userId,Integer productId,Integer checked);

    ServerResponse<Integer> getCount(Integer userId);
}
